Make the default default colormap the GdkRGB colormap, not the system
authorOwen Taylor <otaylor@redhat.com>
Fri, 7 Sep 2001 23:11:17 +0000 (23:11 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 7 Sep 2001 23:11:17 +0000 (23:11 +0000)
commit6341c2f9a202774b01118487c8ef735bfb34c132
tree8983c73a7f6211bfad5f41c6e3a58747d51fe67f
parent51d551786af17a2f9af2b8f01af9141b7090f99e
Make the default default colormap the GdkRGB colormap, not the system

Fri Sep  7 18:50:59 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
Make the default default colormap the GdkRGB colormap,
not the system colormap.

* gtk/gtkinvisible.c (gtk_invisible_init)
  gtk/gtkwindow.c (gtk_window_init): Set the current
colormap, as returned by _gtk_widget_peek_colormap()
on the widget.

* gtk/gtkwidget.[ch]: Export _gtk_widget_peek_colormap
to GTK+. Make it return %NULL instead of the default
colormap if no colormap has explicitely been pushed.

* gtk/gtkwidget.c (gtk_widget_get_colormap): Check for
colormaps on ancestral widgets before defaulting the
the system default colormap.

* docs/Changes-2.0.txt: explain colormap changes.
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/Changes-2.0.txt
gtk/gtkinvisible.c
gtk/gtkwidget.c
gtk/gtkwidget.h
gtk/gtkwindow.c